Returns the next available event from the queue. Returns a negative value if no events are available or an error has occurred.
See Implementation
Returns the next available event from the queue. Returns a negative value if no events are available or an error has occurred.